package hello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

// 标注一个主程序类,成为一个springboot应用
// 除外数据源
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class Application {

    public static void main(String[] args) {
        // 启动配置了@SpringBootApplication注解的类
        SpringApplication.run(Application.class, args);
    }
}